//
//  BLEManager.h
//  BLETest
//
//  Created by Latchesar Ionkov on 3/12/13.
//  Copyright (c) 2013 Alex Ionkov and Ethan Aulwes. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <IOBluetooth/IOBluetooth.h>

@interface BLEManager : NSObject <CBCentralManagerDelegate>
{
    CBCentralManager *manager;
    NSMutableDictionary *devs;
//    int rssi[10];
}

//- (void) initialize;
- (void) startScan;
- (void) stopScan;

@end

@interface Device : NSObject
{
@public
    NSString *name;
    NSMutableArray *rssiHistory;
    int rssi;
    int x, y;
    bool lock;
}
@end